package com.ims.core.doc.mapper;

import java.util.List;
import com.ims.core.doc.domain.TInDeductionStatApply;

/**
 * 统计表申请记录Mapper接口
 *
 * @author IMS
 * @date 2024-12-11
 */
public interface TInDeductionStatApplyMapper
{
    /**
     * 查询统计表申请记录
     *
     * @param id 统计表申请记录主键
     * @return 统计表申请记录
     */
    public TInDeductionStatApply selectTInDeductionStatApplyById(Long id);

    /**
     * 查询统计表申请记录
     *
     * @param applyId 统计表申请记录ID
     * @return 统计表申请记录
     */
    public TInDeductionStatApply selectTInDeductionStatApplyByApplyId(String applyId);

    /**
     * 查询统计表申请记录列表
     *
     * @param tInDeductionStatApply 统计表申请记录
     * @return 统计表申请记录集合
     */
    public List<TInDeductionStatApply> selectTInDeductionStatApplyList(TInDeductionStatApply tInDeductionStatApply);

    /**
     * 新增统计表申请记录
     *
     * @param tInDeductionStatApply 统计表申请记录
     * @return 结果
     */
    public int insertTInDeductionStatApply(TInDeductionStatApply tInDeductionStatApply);

    /**
     * 修改统计表申请记录
     *
     * @param tInDeductionStatApply 统计表申请记录
     * @return 结果
     */
    public int updateTInDeductionStatApply(TInDeductionStatApply tInDeductionStatApply);

    /**
     * 删除统计表申请记录
     *
     * @param id 统计表申请记录主键
     * @return 结果
     */
    public int deleteTInDeductionStatApplyById(Long id);

    /**
     * 批量删除统计表申请记录
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTInDeductionStatApplyByIds(Long[] ids);
}
